package com.ruoyi.tjbb.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.tjbb.mapper.SysTjbbLltjMapper;
import com.ruoyi.tjbb.domain.SysTjbbLltj;
import com.ruoyi.tjbb.service.ISysTjbbLltjService;

/**
 * 流量统计Service业务层处理
 * 
 * @author ruoyi
 * @date 2023-09-26
 */
@Service
public class SysTjbbLltjServiceImpl implements ISysTjbbLltjService 
{
    @Autowired
    private SysTjbbLltjMapper sysTjbbLltjMapper;

    /**
     * 查询流量统计
     * 
     * @param id 流量统计主键
     * @return 流量统计
     */
    @Override
    public SysTjbbLltj selectSysTjbbLltjById(Long id)
    {
        return sysTjbbLltjMapper.selectSysTjbbLltjById(id);
    }

    /**
     * 查询流量统计列表
     * 
     * @param sysTjbbLltj 流量统计
     * @return 流量统计
     */
    @Override
    public List<SysTjbbLltj> selectSysTjbbLltjList(SysTjbbLltj sysTjbbLltj)
    {
        return sysTjbbLltjMapper.selectSysTjbbLltjList(sysTjbbLltj);
    }

    /**
     * 新增流量统计
     * 
     * @param sysTjbbLltj 流量统计
     * @return 结果
     */
    @Override
    public int insertSysTjbbLltj(SysTjbbLltj sysTjbbLltj)
    {
        return sysTjbbLltjMapper.insertSysTjbbLltj(sysTjbbLltj);
    }

    /**
     * 修改流量统计
     * 
     * @param sysTjbbLltj 流量统计
     * @return 结果
     */
    @Override
    public int updateSysTjbbLltj(SysTjbbLltj sysTjbbLltj)
    {
        return sysTjbbLltjMapper.updateSysTjbbLltj(sysTjbbLltj);
    }

    /**
     * 批量删除流量统计
     * 
     * @param ids 需要删除的流量统计主键
     * @return 结果
     */
    @Override
    public int deleteSysTjbbLltjByIds(Long[] ids)
    {
        return sysTjbbLltjMapper.deleteSysTjbbLltjByIds(ids);
    }

    /**
     * 删除流量统计信息
     * 
     * @param id 流量统计主键
     * @return 结果
     */
    @Override
    public int deleteSysTjbbLltjById(Long id)
    {
        return sysTjbbLltjMapper.deleteSysTjbbLltjById(id);
    }
}
